package com.bajiao.third.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class AliPayConfig {

    // 6.请求支付宝的网关地址
    @Value("${AliPayConfig.URL}")
    public String url;

    // 7.编码
    @Value("${AliPayConfig.CHARSET}")
    public String charset;

    // 8.返回格式
    @Value("${AliPayConfig.FORMAT}")
    public String format;

    // 9.加密类型
    @Value("${AliPayConfig.SIGNTYPE}")
    public  String singType;

    //充值回调地址
    @Value("${AliPayConfig.RECHARGE_NOTIFY_URL}")
    public String rechargeNotifyUrl;

}
